<?php
$time = sfConfig::get('app_time_online',5)*60;
if($zd_online->getTime()>(time()-$time))
{
	?>
	<font color="green">online</font>
	<?php
	
}
else
{
	?>
	<font color="red">offline</font>
	<?php }?>